package com.xjscrm.server.mapper;

import com.xjscrm.common.entity.GroupSendTaskDeviceConfig;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface GroupSendTaskDeviceConfigMapper {
    int deleteById(@Param("id") Long id);

    int insert(GroupSendTaskDeviceConfig record);

    int insertSelective(GroupSendTaskDeviceConfig record);

    GroupSendTaskDeviceConfig selectById(@Param("id") Long id);

    GroupSendTaskDeviceConfig selectByDeviceUniqueId(@Param("deviceUniqueId") Long deviceUniqueId, @Param("merId") Long merId);

    int updateByIdSelective(GroupSendTaskDeviceConfig record);

    int updateById(GroupSendTaskDeviceConfig record);
}